package org.hzz.promotions.domain.valueobject;

import io.gitee.pkmer.ddd.shared.ValueObject;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author <a href="mailto:1193094618@qq.com">pkmer</a>
 * <br>
 * <a href = "https://gitee.com/developeros/videos-online">Code Repository</a>
 * At 2024/9/2
 * 优惠券领取数量值对象
 */
@Data
@Accessors(chain = true)
public class CouponReceive implements ValueObject {
    private long couponId;
    private long count;

    public CouponReceive(){}

    public CouponReceive(long couponId){
        this.couponId = couponId;
        this.count = 0;
    }
}
